<?php

include_once 'metier/activite_has_pictogramme.class.php';
include_once 'metier/activite_has_pictogramme.dao.mysql.php';


$db = new myPDO();

$idAct = $_POST['idAct'];
$idPict = $_POST['idPict'];
$num = $_POST['num'];


$AhP = new Activite_has_Pictogramme($idAct, $idPict, $num);
$AhPDAO = new Activite_has_PictogrammeDAO();
$AhPDAO->createActivite_has_Pictogramme($AhP, $db);



header('Location: ../partie_generateur/ens_gestion_acti.html');
?>